package com.stone.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * 程序自定义配置
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "application")
public class ApplicationConfig {

    private String port;
    private String contextPath;
    private String environment;
    private List<String> tokenAllowPath;
}
